<template>
  <div class="hello" style="width: 1000px;">
    我是第二个页面
	
	
	<el-button type="primary">主要按钮</el-button>
	
	
	<el-row>
	  <el-col :span="12"><div style="background: red;"></div></el-col>
	  <el-col :span="12"><div style="background: pink;"></div></el-col>
	</el-row>
	
	<el-button :plain="true" @click="open4">错误</el-button>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  methods: {
      
        open4() {
          this.$message.error('错了哦，这是一条错误消息');
        }
   }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
